{extend name="base" /} {block name="body"}
<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">

        <li class="layui-this">支付配置</li>
    </ul>
</div>
<form class="layui-form form-container" data-url="{:url('admin/service/updatepay')}" localtion-url="{:url('service/pay')}">

    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <div class="layui-form-item">
                <label class="layui-form-label">开关</label>
                <div class="layui-input-block">
                    <input type="radio" name="config[status]" value="0" title="关闭" {if condition="$config.status eq 0" }checked{/if}>
                    <input type="radio" name="config[status]" value="1" title="开启支付宝支付" {if condition="$config.status eq 1" }checked{/if}>
                    <input type="radio" name="config[status]" value="2" title="开启微信支付" {if condition="$config.status eq 2" }checked{/if}>
                    <input type="radio" name="config[status]" value="3" title="开启易支付" {if condition="$config.status eq 3" }checked{/if}>
                </div>
            </div>
            <div class="formbtngroup">
                <button id="creatlink" class="layui-btn layui-btn-sm" lay-submit="" type="submit" lay-filter="formadd">保存</button>
            </div>
        </div>

</form>

{/block} {block name="js"}
<script type="text/javascript" src="__ADMIN__/js/formadd.js"></script>

{/block}